﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HrEFCore.Models
{
	public class ERHired
	{
		[Key]
		[DisplayName("编号")]
		[Required(ErrorMessage = "编号不能为空")]
		public short ResId { get; set; }//主键
		[DisplayName("姓名")]
		[Required(ErrorMessage = "姓名不能为空")]
		public string HumanName { get; set; }//姓名
		[DisplayName("职位分类名称")]
		[Required(ErrorMessage = "职位分类名称不能为空")]
		public string HumanMajorKindName { get; set; }//职位分类名称
		[DisplayName("职位名称")]
		[Required(ErrorMessage = "职位名称不能为空")]
		public string HunmaMajorName { get; set; }//职位名称
		[DisplayName("性别")]
		[Required(ErrorMessage = "性别不能为空")]
		public char HumanSex { get; set; }//性别
		[DisplayName("年龄")]
		[Required(ErrorMessage = "年龄不能为空")]
		public short HumanAge { get; set; }//年龄
		[DisplayName("专业")]
		[Required(ErrorMessage = "专业不能为空")]
		public string HumanEducatedMajor { get; set; }//专业
		[DisplayName("毕业院校")]
		[Required(ErrorMessage = "毕业院校不能为空")]
		public string HumanCollege { get; set; }//毕业院校
		[DisplayName("面试状态")]
		[Required(ErrorMessage = "面试状态不能为空")]
		public short InterviewStatus { get; set; }//面试状态
	}
}
